Automattic\Jetpack\My_Jetpack\Products\Jetpack_Ai S

Total Complexity 48
Dependencies 4
Dependents 1
Total lines 370
Lines of code 166
Logical lines of code 74
Comment lines 144
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
get_pricing_for_ui_by_usage_tier()
A
48 11 32
get_ai_assistant_feature()
S
56 6 19
get_current_usage_tier()
S
62 4 11
get_next_usage_tier()
S
62 4 11
is_upgradable()
S
66 4 8
get_features_by_usage_tier()
S
55 2 21
get_long_description_by_usage_tier()
S
65 2 8
get_info()
S
72 1 5
get_wpcom_product_slug()
S
81 1 3
get_manage_url()
S
81 1 3
has_required_plan()
S
80 1 3
get_wpcom_bi_yearly_product_slug()
S
81 1 3
get_wpcom_monthly_product_slug()
S
81 1 3
get_features()
S
76 1 4
get_pricing_for_ui()
S
65 1 10
get_plugin_slug()
S
80 1 3
get_long_description()
S
76 1 4
get_description()
S
79 1 3
get_title()
S
81 1 3
get_name()
S
81 1 3
get_plugin_filename()
S
80 1 3
is_site_connected()
S
80 1 3